FROM openjdk:8u212-jre
MAINTAINER xuyisu 727517292@qq.com

COPY ./target/fw-register-eureka-1.0-SNAPSHOT.jar fw-register-eureka-1.0.1.jar
EXPOSE 8761
ENTRYPOINT ["java", "-Xmx512m", "-jar", "fw-register-eureka-1.0.1.jar"]

# 打tag docker tag fw-register-eureka yisuxu/fw-register-eureka:latest
# 运行容器 docker run -d --name fw-register-eureka -p 8761:8761 yisuxu/fw-register-eureka
